package com.retail.system.entity.vo;

import com.retail.order.entity.vo.RetailSettleOrderVo;
import com.retail.shop.entity.vo.RetailShopVo;
import com.retail.system.entity.po.AdminPo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Set;

/**
 * @author Administrator
 */
@Data
public class AdminVo extends AdminPo {

    @ApiModelProperty("上级用户Name")
    private String parentName;

    @ApiModelProperty("结构名称")
    private String deptName;

    @ApiModelProperty("此处目前用单角色")
    private Set<Long> roleIds;

    @ApiModelProperty("角色名称")
    private String roleNames;

    @ApiModelProperty("用户状态")
    private String statusName;

    @ApiModelProperty("qrcode")
    private String qrcode;

    @ApiModelProperty("下级用户")
    private List<AdminVo> childUsers;

    @ApiModelProperty("店铺信息")
    private List<RetailShopVo> shops;

    @ApiModelProperty("订单信息(未结算订单)")
    private List<RetailSettleOrderVo> orders;

    @ApiModelProperty("等级")
    private String adminLevelName;

    //
    @ApiModelProperty("商户统计")
    private AdminStatisticsShopVo adminStatisticsShopVo;


    @ApiModelProperty("业务统计")
    private AdminStatisticsPersonVo adminStatisticsPersonVo;

    @ApiModelProperty("收益")
    private AdminIncomePersonVo adminIncomePersonVo;

    // 只有是商户的用户，才会存在该属性
    @ApiModelProperty("商户信息")
    private RetailShopVo ownerShop;

    @ApiModelProperty("编辑PoiId 信息")
    private Integer editPoiId;





}
